<h1>With</h1>

<p>With is a stack-based action and supports the with statement from the ActionScript language.</P>

<pre>
with(_root.movieClip)
{
    gotoAndPlay("frame");
}
</pre>

<table>

<tr>
<th nowrap>Field Name</th>
<th>Type</th>
<th>Size</th>
<th>Description</th>
</tr>

<tr>
<td nowrap valign="top"><a name="ActionType">Type</a></td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">8</td>
<td>Identifies the action when it is encoded.</td>
</tr>

<tr>
<td nowrap valign="top"><a name="ActionLength">Length</a></td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">16</td>
<td>The number of bytes in the rest of the encoded action. The total number of
bytes in the encoded action is Length+3.</td>
</tr>

<tr>
<td nowrap valign="top">actionLength</td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">16</td>
<td>The number of bytes following that contain the encoded actions to be executed
for the movie clip.</td>
</tr>

</table>

<p>With temporarily selects the movie clip allowing the following 
stream of actions to control the movie clip's time-line.</p>

<h2>History</h2>

<p>The With action represents the ActionWith action in the Macromedia Flash (SWF) File Format Specification. It was introduced in Flash 5. FSWith supersedes the FSSetTarget action.</p>
